package com.lzs.DAO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lzs.PO.Member;

public interface MemberDAO {

	public long countMemberByPeopleId(@Param("people_id") String people_id);

	public void addMember(Map<String, Object> map);

	public Member findMemberByFamilyId(@Param("family_id") String family_id);

	public void updateMember(Map<String, Object> map);

	public void deleteMember(@Param("family_id") String family_id);

	public List<Member> findMemberList(@Param("keyword") String keyword);

	public List<Member> findMemberPagelist(@Param("keyword") String keyword, @Param("startIndex") int startIndex,
			@Param("pageSize") Integer pageSize);

	public Member findMemberWithFamily(@Param("family_id")String family_id);

	public void deleteMemberByPeopleId(@Param("people_id")String people_id);

	public List<Member> findMembersByFamilyId(@Param("family_id")String family_id);

	public Member findMemberByPeopleId(@Param("people_id")String people_id);

}
